home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_713_setsh.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  634 b   |  14 lines

  1. setshape (setsh) name-or-number 
  2. setshape (setsh) list-of-names-or-numbers 
  3.  
  4. Gives a shape to the turtle. If the input is a name, a quotation mark must precede it. When a list of shape names or numbers is given as input, each fd and bk command makes the turtle cycle through the list of shapes. The maximum number for setshape is 64. The shape can also be set by picking a shape from the Shapes Center and clicking on a turtle. See shape and Animation Techniques in Section 1 of the User's Guide.
  5.  
  6. Examples:
  7.  
  8. setshape 12 
  9. setshape "moon 
  10. repeat 25 [setsh "bird1 fd 2 setsh "bird2 fd 2] 
  11. setsh [dog1 dog2]
  12. repeat 10 [fd 5]
  13. glide 100 5
  14.